//
//  HighScoresLayer.h
//  xGame
//
//  Created by Max on 11-8-13.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "BaseLayer.h"

@class GameLayer;

@interface HighScoresLayer : BaseLayer <UITextFieldDelegate>
{
	NSString *currentPlayer;
	int currentScore;
	int currentScorePosition;
	NSMutableArray *highscores;
	UIAlertView *changePlayerAlert;
	UITextField *changePlayerTextField;
    
    GameLayer   *_gameLayer;
}

@property (nonatomic,assign) int currentScore;
@property (nonatomic,retain) GameLayer   *gameLayer;

+(CCScene *)scene;
- (id)initWithScore:(int)lastScore;

@end
